package com.sy.vo;

import java.util.List;

//用来接学生的提交作业整个的实体类
public class StudentSubmitAnswer {
    private Integer homeworkId;
    private List<Answers> answers;
    private ShortAnswer shortAnswer;

    public Integer getHomeworkId() {
        return homeworkId;
    }

    public void setHomeworkId(Integer homeworkId) {
        this.homeworkId = homeworkId;
    }

    public List<Answers> getAnswers() {
        return answers;
    }

    public void setAnswers(List<Answers> answers) {
        this.answers = answers;
    }

    public ShortAnswer getShortAnswer() {
        return shortAnswer;
    }

    public void setShortAnswer(ShortAnswer shortAnswer) {
        this.shortAnswer = shortAnswer;
    }

    @Override
    public String toString() {
        return "StudentSubmitAnswer{" +
                "homeworkId=" + homeworkId +
                ", answers=" + answers +
                ", shortAnswer=" + shortAnswer +
                '}';
    }
}
